package cn.ycms.bean;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ManagerReso entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "manager_reso")
public class ManagerReso implements java.io.Serializable {

	// Fields

	private String managerResoId;
	private String resoId;
	private String managerId;
	private Integer mark;
	private Integer sort;
	private String beizhu;
	private Timestamp createdate;

	// Constructors

	/** default constructor */
	public ManagerReso() {
	}

	/** minimal constructor */
	public ManagerReso(String managerResoId, String resoId, String managerId) {
		this.managerResoId = managerResoId;
		this.resoId = resoId;
		this.managerId = managerId;
	}

	/** full constructor */
	public ManagerReso(String managerResoId, String resoId, String managerId,
			Integer mark, Integer sort, String beizhu, Timestamp createdate) {
		this.managerResoId = managerResoId;
		this.resoId = resoId;
		this.managerId = managerId;
		this.mark = mark;
		this.sort = sort;
		this.beizhu = beizhu;
		this.createdate = createdate;
	}

	// Property accessors
	@Id
	@Column(name = "MANAGER_RESO_ID", unique = true, nullable = false, length = 20)
	public String getManagerResoId() {
		return this.managerResoId;
	}

	public void setManagerResoId(String managerResoId) {
		this.managerResoId = managerResoId;
	}

	@Column(name = "RESO_ID", nullable = false, length = 20)
	public String getResoId() {
		return this.resoId;
	}

	public void setResoId(String resoId) {
		this.resoId = resoId;
	}

	@Column(name = "MANAGER_ID", nullable = false, length = 20)
	public String getManagerId() {
		return this.managerId;
	}

	public void setManagerId(String managerId) {
		this.managerId = managerId;
	}

	@Column(name = "MARK")
	public Integer getMark() {
		return this.mark;
	}

	public void setMark(Integer mark) {
		this.mark = mark;
	}

	@Column(name = "SORT")
	public Integer getSort() {
		return this.sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	@Column(name = "BEIZHU", length = 200)
	public String getBeizhu() {
		return this.beizhu;
	}

	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}

	@Column(name = "CREATEDATE", length = 0)
	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

}